try:
    from pypng.png2 import *
except (SyntaxError, ImportError):
    from pypng.png3 import *
